package com.yuan.sys.modular.mould.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yuan.core.pojo.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author hongawen
 * @version 1.0.0
 * @date 2021年10月24日 20:58
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_mould")
public class SysMould extends BaseEntity {

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 模具编号
     */
    @Excel(name = "模具编号", width = 20)
    private String mouldNo;

    /**
     * 客户名称
     */
    @Excel(name = "客户", width = 20)
    private String customerName;


    /**
     * 客户编号
     */
    @Excel(name = "客户编号", width = 20)
    private String customerNo;

    /**
     * 米重
     */
    @Excel(name = "米重", width = 20)
    private Float mouldHeavy;

    /**
     * 模具费
     */
    @Excel(name = "模具费", width = 20)
    private Float mouldCost;

    /**
     * 加工费
     */
    @Excel(name="加工费",width = 20)
    private Integer  processCost;

    /**
     * 模具厂
     */
    @Excel(name = "模具厂", width = 20)
    private String mouldCompany;

    /**
     * 备注
     */
    @Excel(name = "备注", width = 20)
    private String remark;

    /**
     * 规格
     */
    @Excel(name = "规格", width = 20)
    private String size;








    /**
     * 状态（字典 0正常 1停用 2删除）
     */
    @Excel(name = "状态", replace = {"正常_0", "停用_1", "删除_2"}, width = 20)
    private Integer status;


}
